package com.system.demo.service;

import com.system.demo.doMain.entity.User;

import java.util.List;
import java.util.Map;

public interface UserService {

    User findUser(String name,String password);

    List<User>list();

    int save(Map<String,String> userinfo);

    User findUserByName(String name);
}
